/* 
 * HTML5 ✰ Boilerplate
 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==== Normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {display: block;}
audio, canvas, video {display: inline-block; *display: inline; *zoom: 1;}
audio:not([controls]) {display: none;}
[hidden] {display: none;}

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html {font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}

body {margin: 0; line-height: 1.231;}

body, button, input, select, textarea {font-family: sans-serif; color: #222;}

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection {background: #3AC3E0; color: #fff; text-shadow: none;}
::selection {background: #3AC3E0; color: #fff; text-shadow: none;}


/* =============================================================================
   Links
   ========================================================================== */

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active {outline: 0;}


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] {border-bottom: 1px dotted;}

b, strong {font-weight: bold;}

blockquote {margin: 1em 40px;}

dfn {font-style: italic;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

ins {background: #ff9; color: #333; text-decoration: none;}

mark {background: #ff0; color: #333; font-style: italic; font-weight: bold;}

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp {font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em;}

/* Improve readability of pre-formatted text in all browsers */
pre {white-space: pre; white-space: pre-wrap; word-wrap: break-word;}

q {quotes: none;}
q:before, q:after {content: ""; content: none;}

small {font-size: 85%;}

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup {font-size: 75%; line-height: 0; position: relative; vertical-align: baseline;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol {margin: 1em 0; padding: 0 0 0 40px;}
dd {margin: 0 0 0 40px;}
nav ul, nav ol {list-style: none; list-style-image: none; margin: 0; padding: 0;}


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img {border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle;}

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) {overflow: hidden;}


/* =============================================================================
   Figures
   ========================================================================== */

figure {margin: 0;}


/* =============================================================================
   Forms
   ========================================================================== */

form {margin: 0;}
fieldset {border: 0; margin: 0; padding: 0;}

/* Indicate that 'label' will shift focus to the associated form element */
label {cursor: pointer;}

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend {border: 0; *margin-left: -7px; padding: 0;}

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea {font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle;}

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input {line-height: normal; *overflow: visible;}

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input {*overflow: auto;}

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] {cursor: pointer; -webkit-appearance: button;}

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] {box-sizing: border-box;}
input[type="search"] {-webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box;}
input[type="search"]::-webkit-search-decoration {-webkit-appearance: none;}

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner {border: 0; padding: 0;}

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea {overflow: auto; vertical-align: top; resize: vertical;}




/* =============================================================================
   Tables
   ========================================================================== */

table {border-collapse: collapse; border-spacing: 0;}
td {vertical-align: top;}

/* ==== Non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir {display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr;}
.ir br {display: none;}

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden {display: none !important; visibility: hidden;}

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden {border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;}

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto;}

/* Hide visually and from screenreaders, but maintain layout */
.invisible {visibility: hidden;}

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after {content: ""; display: table;}
.clearfix:after {clear: both;}
.clearfix {zoom: 1;}

/* ==== Print styles =======================================================
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * {background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important;} 
  /* Black prints faster: h5bp.com/s */
  a, a:visited {text-decoration: underline;}
  a[href]:after {content: " (" attr(href) ")";}
  abbr[title]:after {content: " (" attr(title) ")";}
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {content: "";}  /* Don't show links for images, or javascript/internal links */
  pre, blockquote {border: 1px solid #999; page-break-inside: avoid;}
  thead {display: table-header-group;} /* h5bp.com/t */
  tr, img {page-break-inside: avoid;}
  img {max-width: 100% !important;}
  @page {margin: 0.5cm;}
  p, h2, h3 {orphans: 3; widows: 3;}
  h2, h3 {page-break-after: avoid;}
}

/* == Fine HTML5 ✰ Boilerplate == */




/* == Stili di base - Mobile first ===== */

body {
 font-size: 100%;
 font-family: Lucida Grande, Optima-Regular, Verdana, sans-serif;
 color: #333;
 background: #fff;
 margin: 0;
 padding: 0;
}


a {
 color: #3AC3E0;
 text-decoration: none;
}

p {
 text-align:center;	
 font-size: 0.875em;
 line-height: 1.4375;
 margin: 0 0 0.35em 0;
}

p a:hover {
 color: #3AC3E0;
 text-decoration: underline;
}

ul {
 margin: 0;
 padding: 0;
 list-style: none;
}




/*---------------------------------------------------------------------------------------------------*/

.butt{
	background-image: -moz-linear-gradient(top, #ffffff, #dbdbdb);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ffffff),color-stop(1, #dbdbdb));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#dbdbdb');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#dbdbdb')";
	border: 1px solid #fff;
	-moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	padding: 5px 15px;
	text-decoration: none;
	text-shadow: #fff 0 1px 0;
	margin-bottom: 15px;
	color: #597390;
	font-size: 20px;
	font-weight: bold;
}

.butt:hover{
 background-image: -moz-linear-gradient(top, #dbdbdb, #ffffff);
 background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #dbdbdb),color-stop(1, #ffffff));
 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#dbdbdb', EndColorStr='#ffffff');
 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#dbdbdb', EndColorStr='#ffffff')";
}





.butt_img{
	background-image: -moz-linear-gradient(top, #ffffff, #dbdbdb);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ffffff),color-stop(1, #dbdbdb));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#dbdbdb');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#dbdbdb')";
	border: 1px solid #fff;
	-moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	padding: 5px 15px;
	text-decoration: none;
	text-shadow: #fff 0 1px 0;
	margin-bottom: 15px;
	color: #597390;
	font-size: 20px;
	font-weight: bold;
}



.butt_img:hover{
 background-image: -moz-linear-gradient(top, #dbdbdb, #ffffff);
 background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #dbdbdb),color-stop(1, #ffffff));
 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#dbdbdb', EndColorStr='#ffffff');
 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#dbdbdb', EndColorStr='#ffffff')";
}


button.login span {
 padding-left: 36px;	
 background: url(img/buttons/icon_login.png) no-repeat 0 0px;
}





#container {
 width: 95%;
 margin: 0 auto;
 padding: 0;
}

header {
 min-height:80px;	
 padding-top:5px;	
 width: 100%;
}



#content {
 margin-top:15px;
 margin-bottom:15px;
}

#user_header{
 width:60%;
 height:80px;
}


#user_header img{
 padding-right: 10px;	
 height: 50px;
 float:left;	
}

#user_header #name ,#surname{
 text-shadow: #fff 0 1px 0;
 color: #597390;
 font-size: 16px;
 font-weight: bold;	
}

#user_header #box_user{
 margin-bottom: 10px;	
 margin-top:12px;	
 margin-left:10px;
 float:left;
}

#user_header #box_user img:hover{
 cursor:pointer;
}

#oper{
 min-height:200px;	
 width:100%;
}

#oper #box1{
 width:100%;	 
}

#oper #box2{
 width:100%;
}

.button_large{
	margin: auto;
	height:80px;
	width:280px;
 	background-image: -moz-linear-gradient(top, #ffffff, #dbdbdb);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ffffff),color-stop(1, #dbdbdb));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#dbdbdb');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#dbdbdb')";
	border: 1px solid #fff;
	-moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	padding: 25px 25px;
	text-decoration: none;
	text-shadow: #fff 0 1px 0;
	margin-bottom: 15px;
	color: #597390;
	line-height: 24px;
	font-size: 28px;
	font-weight: bold;
}

.button_large img{
 float:left;
 margin-right:30px;
}

.button_large:hover {
 background-image: -moz-linear-gradient(top, #dbdbdb, #ffffff);
 background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #dbdbdb),color-stop(1, #ffffff));
 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#dbdbdb', EndColorStr='#ffffff');
 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#dbdbdb', EndColorStr='#ffffff')";
 cursor:pointer;
}

#notify{
 width:100%;
 margin-bottom:30px;
 min-height:100px;
}


#notify .letter_large{
 width:50%;	
 float:left;
 text-align:center;
 opacity:0.2;
}

#notify .letter_large:hover{
 cursor:pointer;
 opacity:1
}

#notify .letter_large p{
 text-shadow: #fff 0 1px 0;
 color: #597390;
 font-size: 16px;
 font-weight: bold;	 
 text-align:center;
}

#notify img{
 width:100px;	
}

#notify .letter_large a{
 text-shadow: #fff 0 1px 0;
 color: #597390;
 font-size: 14px;
 font-weight: bold;	
 margin:auto;
}



#notify .letter_large a.red{
 color: red;
}

#notify .letter_large a.green{
 color: rgb(0, 223, 0);
}

#notify .letter_large a:hover{
 text-decoration:none; 
}




/*------------ EMERGENZA MOBILE ------------*/

#head_emergenza{
 width:100%;
 text-align:center;
 text-shadow: #fff 0 1px 0;
 color: #597390;
 font-size: 18px;
 font-weight: bold;	
 margin-bottom:30px;
}

#panel_emergenza {	
 width:100%;	
 text-shadow: #fff 0 1px 0;
 color: #597390;
 font-size: 14px;
 font-weight: bold;	
 min-height:400px;
}

#panel_rapporto {	
 width:100%;	
 text-shadow: #fff 0 1px 0;
 color: #597390;
 font-size: 14px;
 font-weight: bold;	
 min-height:250px;
}

#panel_dettagli {	
 width:100%;	
}

#panel_map {
 width:100%;
 height:100%;
 text-align:center;	
}

#panel_map #map{
 width:90%;
 height: 240px;
 margin:auto;
 margin-bottom:20px;
 padding:5px;
 border:1px solid #ADAFB2;	
}

#panel_emergenza .row{
 width:90%;
 margin-bottom:15px;
 text-align:right;
}
#panel_rapporto .row{
 width:90%;
 margin-bottom:15px;
 text-align:right;
}


#panel_emergenza textarea{
 width: 70%;	
 resize:none;
 min-height:100px;
}
#panel_rapporto textarea{
 width: 70%;	
 resize:none;
 min-height:100px;
}


#note_emergenza{
 min-height:180px;	
 margin:auto;	
 width:100%;
 text-shadow: #fff 0 1px 0;
 color: #597390;
 font-size: 14px;
 font-weight: bold;		
 text-align:center;
}

#note_emergenza textarea{
 width: 90%;	
 resize:none;
 min-height:100px;
 margin-bottom:20px;
}


/*-------------------------------------------*/


/*------------- RICHIESTA RISORSE ----------------*/


#panel_risorse{
 margin:auto;
}

#panel_risorse .risorsa{	
 width:100%;
 height:130px;
 text-shadow: #fff 0 1px 0;
 color: #597390;
 font-size: 14px;
 font-weight: bold;	
 text-align:center;	
}





/*------------------ HELP PAGE--------------------*/


#help_panel{
 text-align:left ;
 padding:10px;
 font-size: 18px;
}



#help_panel .title{
 font-size:24px;
 color:rgb(216, 77, 99);
 font-weight:bold;
}

#help_panel p{
 text-align: left;	
}

#help_panel ul li:hover{

	cursor:pointer;
	text-decoration: underline;
}

#help_panel ul li a{
 font-size:22px;
 line-height:40px;
 color:rgb(46, 148, 206);
 font-weight: bold;	
}

#help_panel a:hover{
 text-decoration: none;	
}

#help_panel #indice{
	margin-bottom: 140px;
}

#help_panel #indice h2{
 color: #597390;
 font-size: 26px;
 font-weight: bold;
}

#help_panel .ritorno{
 width:100%;	
 font-size:18px;
 line-height:24px;
 float:right;
 font-style:italic; 
 color:rgb(46, 148, 206);
 margin-bottom:80px;
}

#help_panel .ritorno:hover{
 text-decoration:underline;	
}









/*------------------------------------------------*/








#logo {
 height: 65px;
 width: 180px;
 float: right;
}

#logo img {
 height: 65px;
 float:right;
}

#help {
 height: 65px;
 width: 80px;
 float: right;
}

#help img {	
 height: 65px;
 float:right;
}


#logo_estintore{
	display: block;
	max-width: 100%;
	height: auto;
	margin-bottom: 0.625em;
}


#form_login{
	padding-top:40px;
	text-align:center;
	text-shadow: #fff 0 1px 0;
	color: #597390;
	font-size: 18px;
	font-weight: bold;
}

#form_login .row{
	width:100%;
	height:60px;
}



a.button {
	background-image: -moz-linear-gradient(top, #ffffff, #dbdbdb);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ffffff),color-stop(1, #dbdbdb));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#dbdbdb');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#dbdbdb')";
	border: 1px solid #fff;
	-moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	padding: 5px 15px;
	text-decoration: none;
	text-shadow: #fff 0 1px 0;
	margin-bottom: 15px;
	color: #597390;
	font-size: 20px;
	font-weight: bold;
}


a.button.icon.login span{
 padding-left: 36px;
 background: url(img/buttons/icon_login.png) no-repeat 0 0px;
}

a.button.icon.logout span {
 padding-left: 36px;	
 background: url(img/buttons/icon_logout.png) no-repeat 0 0px;
}

a.button.icon.gestisci span {
 padding-left: 0px;	
 background: none;
}

a.button:hover {
	color: #000;
}

p a:hover {
	color: #fff;
}


/*--------------------------------------------------------------------------------------------------------------*/


#main {
 background:rgb(249, 249, 249);	
 border:1px solid #ADAFB2;	
 width: 100%;
 -moz-box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.26);
 -webkit-box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.26);
 box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.26);
 border-radius: 6px;
 -webkit-border-radius: 6px;
 -moz-border-radius: 6px;

 padding: 0.625em 0 0 0;
}


footer {
 width: 100%;
 font-size: 0.75em;
 border-top: 1px solid #D1D3D4;
 padding: 1em 0 1.25em 0;
}

footer #legal li {
 padding: 0.225em 1.3% 0.225em 0;
 margin-right: 1.3%;
}

footer a {
 color: #333;
 transition: color 0.25s;
 -moz-transition: color 0.25s;
 -webkit-transition: color 0.25s;
}

footer a:hover {color: #3AC3E0;}




/* Nascondiamo le sezioni che non vogliamo 
visualizzare su smartphone              */


#logo_estintore {
	display:none;
}



aside .ultimi-commenti-widget,
aside#secondaria, .flexslider {
 display: none;
}









/*---------------------------------- DISPATCH INTERFACE ----------------------------------*/


#home{
 min-height:200px;	
 width:100%;
}

#home #box1{
 width:100%;	 
}

#home #box2{
 width:100%;
}


.button_medium{
	vertical-align:middle;
	margin: auto;
	height:50px;
	width:200px;
 	background-image: -moz-linear-gradient(top, #ffffff, #dbdbdb);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ffffff),color-stop(1, #dbdbdb));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#dbdbdb');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#dbdbdb')";
	border: 1px solid #fff;
	-moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	padding: 1px 10px;
	text-decoration: none;
	text-shadow: #fff 0 1px 0;
	margin-bottom: 15px;
	color: #597390;
	font-size: 16px;
	font-weight: bold;
}

.button_medium img{
 float:left;
}

.button_medium:hover {
 background-image: -moz-linear-gradient(top, #dbdbdb, #ffffff);
 background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #dbdbdb),color-stop(1, #ffffff));
 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#dbdbdb', EndColorStr='#ffffff');
 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#dbdbdb', EndColorStr='#ffffff')";
 cursor:pointer;
}


#form_login.error input{
 border-color:red;
}


#form_login #message_error{
 font-size:16px;	
 color:red;
 border: 1px solid red;
 padding:2%;
 margin:5%;
}



/* == Media queries (breakpoint) ===== */

/* -----------------------------------
SMARTPHONE PORTRAIT
------------------------------------ */
@media only screen and (min-width: 550px) {

#main {
 width: 100%;
 padding: 1.25em 0;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 box-sizing: border-box;
}


#logo_estintore {
 display: block;
 width:24%;
 float:left;
}

#logo_estintore img{
 height:280px;
}

#panel_risorse{
 min-height:720px;	
}

#panel_risorse .risorsa{
 width:50%;
 float:left;
}

#logo {
 display: block !important;
}



#form_login #message_error{
 color:red;
 border: 1px solid red;
 padding:2%;
 margin-right:10%;
 margin-left:35%;
 margin-bottom:5%;
 width:55%;
}


}



/* -----------------------------------
IPAD PORTRAIT
------------------------------------ */
@media only screen and (min-width: 768px) {

/* Mostriamo il logo estintore */


#main {
 width: 100%;
 padding: 1.25em 0;
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 box-sizing: border-box;
}

#oper #box1{
 width:50%;	
 float:left; 
}

#oper #box2{
 width:50%;	
 float:right;
}

#panel_dettagli{
 width:55%;	
 float:left;
}

#panel_map{
 width:45%;	
 float:right; 
}

#panel_risorse{
 min-height:580px;
}

#panel_risorse .risorsa{
 width:33%;
 float:left;
}


#panel_risorse .risorsa.last{
 width:100%;
}




/* Mostriamo le sezioni prima nascoste */




/* Nascondiamo le sezioni che non vogliamo 
visualizzare su tablet e desktop        */


#container {
 position: relative;
 max-width: 800px;
 padding: 0 1.06382978723404%;
 margin: 0 auto;
}
	
	
footer {
 clear: left;
 float: none;
 position: relative;
 width: auto;
 height: 3em;
 line-height: 3em;
 padding: 0 2%;
 background-color: #EFEFEF;
 border: 1px solid #E3E3E3;
 -webkit-border-radius: 5px;
 -moz-border-radius: 5px;
 border-radius: 5px;
 margin-bottom: 1.5em;
 font-size: 0.8125em;
}

footer #legal {height: 4em;}
	
footer #legal li,
footer #legal li:last-child {
 float: left;
 margin-right: 10px;
 padding: 0 0 0 14px;
}

footer #legal li:first-child {
 padding: 0;
 margin-right: 10px;
}








#home #box1{
 width:60%;	
 float:left; 
}

#home #box2{
 width:40%;	
 float:right;
}







}
